package org.aurora.remote.netty;

import io.netty.channel.Channel;
import org.aurora.remote.RemoteCommandContext;
import org.aurora.remote.protocol.RemoteCommand;

public class NettyRemoteCommandContext extends RemoteCommandContext {
    private Channel channel;

    public NettyRemoteCommandContext(Channel channel, RemoteCommand remoteCommand) {
        super(remoteCommand);
        this.channel = channel;
    }

    public Channel getChannel() {
        return channel;
    }

    public void setChannel(Channel channel) {
        this.channel = channel;
    }
}
